package com.ruoyi.wisdom.mapper;

import java.util.List;
import com.ruoyi.wisdom.domain.IotPickRecord;

/**
 * 进出记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-02
 */
public interface IotPickRecordMapper 
{
    /**
     * 查询进出记录
     * 
     * @param id 进出记录主键
     * @return 进出记录
     */
    public IotPickRecord selectIotPickRecordById(Long id);

    public IotPickRecord selectIotPickRecord(IotPickRecord iotPickRecord);

    public IotPickRecord selectIotPickRecordByHash(String hash);

    /**
     * 查询进出记录列表
     * 
     * @param iotPickRecord 进出记录
     * @return 进出记录集合
     */
    public List<IotPickRecord> selectIotPickRecordList(IotPickRecord iotPickRecord);

    /**
     * 新增进出记录
     * 
     * @param iotPickRecord 进出记录
     * @return 结果
     */
    public int insertIotPickRecord(IotPickRecord iotPickRecord);

    /**
     * 修改进出记录
     * 
     * @param iotPickRecord 进出记录
     * @return 结果
     */
    public int updateIotPickRecord(IotPickRecord iotPickRecord);

    /**
     * 删除进出记录
     * 
     * @param id 进出记录主键
     * @return 结果
     */
    public int deleteIotPickRecordById(Long id);

    /**
     * 批量删除进出记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIotPickRecordByIds(Long[] ids);

    public int deleteIotPickRecordByParams(IotPickRecord iotPickRecord);
}
